﻿using System;
using System.Collections.Generic;
using Jink.Core.Converters.Context;
using XenoGears.Reflection;

namespace Jink.Core.Converters
{
    public static partial class Converter
    {
        public static Dictionary<String, Object> Convert(IEnumerable<ConversionContextEntry> input, IDictionary<String, Type> goal)
        {
            return Convert(input, goal, new Dictionary<String, Object>());
        }

        public static Dictionary<String, Object> Convert(IEnumerable<ConversionContextEntry> input, IDictionary<String, Type> goal, Object pbag)
        {
            return Convert(input, goal, pbag.ToPropertyBag());
        }

        public static Dictionary<String, Object> Convert(IEnumerable<ConversionContextEntry> input, IDictionary<String, Type> goal, IDictionary<String, Object> cookies)
        {
            using (var ctx = ConversionContext.New(input, goal, cookies))
            {
                throw new NotImplementedException();
            }
        }
    }
}
